package com.health.userbackstage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.health.userbackstage.pojo.OrderSetting;
import com.health.userbackstage.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author ASUS
 * @Date 2023/8/18 21:18
 * @Version 1.0
 */
public interface OrderSettingService extends IService<OrderSetting> {

    List<OrderSetting> findByDate(String date);
    List<OrderSetting> findByDateRange(String min,String max);
    boolean updateNumber(OrderSetting os);

    List getOrderDates();

    boolean updateReservationsByOrderDate(Date orderDate);

    boolean deleteOrderReportByOrderId(Integer orderId);

    Date selectIdByDate(Date date);
}
